package com.zw.transition.common;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: bootstrap-table 基础模型
 *
 * @Author: China.sgl
 * @Date: 2020/7/30 9:42
 */
@Data
public class Table implements Serializable {

    /**
     * 数据
     */
    private List<?> rows;
    /**
     * 总数
     */
    private long total;

    public List<?> getRows() {
        return rows;
    }

    public Table setRows(List<?> rows) {
        this.rows = rows;
        return this;
    }

    public long getTotal() {
        return total;
    }

    public Table setTotal(long total) {
        this.total = total;
        return this;
    }
}
